package com.zmn.oms.dubbo.dto.zmn.order.serviceprovider;

import com.zmn.oms.common.dto.OmsBaseOperator;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 类描述：确认接单
 *
 * @author yule
 * @date 2019/5/16 15:06
 */
@Data
@ToString
public class OrderReceiveDIO extends OmsBaseOperator implements Serializable {

    /**
     * 订单Id
     */
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    /**
     * 工单Id
     */
    @NotNull(message = "工单ID不能为空")
    private Long workId;

    /**
     * 服务商Id
     */
    @NotNull(message = "服务商ID不能为空")
    private Integer companyId;
}
